#!/bin/sh
FILMING=/vobs/jrx/filming/
PACKAGE=$FILMING/package/
cd $PACKAGE
rm -fr $PACKAGE/filelist
touch $PACKAGE/filelist
for i in $(find .|awk -F ^./ '{print $2}'|grep usr); do
	echo "%attr(755,ctuser,ctuser) /$i" >> $PACKAGE/filelist
done
echo "%attr(644,root,root) /etc/udev/rules.d/80-usb.rules" >> $PACKAGE/filelist

cd -
